﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HowToUse_Dll
{
    public class FileMetadata
    { 
        public string Filename { get; set; }
        public string Format { get; set; }
        public string FormatInfo { get; set; }
        public string Duration { get; set; }
        public string FileSize { get; set; }
        public List<VideoStreamsMetadata> VideoStreamsMetadata { get; set; }
        public List<AudioStreamsMetadata> AudioStreamsMetadata { get; set; }
        public List<TextStreamsMetadata> TextStreamsMetadata { get; set; }
    }

    public class VideoStreamsMetadata
    {
        public string ID { get; set; }
        public int VideoID { get; set; }
        public string Format { get; set; }
        public string FormatInfo { get; set; }
        public string FormatProfile { get; set; }
        public string DisplayAspectRatio { get; set; }
        public string Language { get; set; }
        public string Resolution { get; set; }
        public string BitRate { get; set; }
        public string Duration { get; set; }
    }

    public class AudioStreamsMetadata 
    {
        public string ID { get; set; }
        public int AudioID { get; set; }
        public string Format { get; set; }
        public string FormatInfo { get; set; }
        public string Channels { get; set; }
        public string Bitrate { get; set; }
        public string SamplingRate { get; set; }
        public string Compression_Mode { get; set; }
        public string Language { get; set; }
        public string Duration { get; set; }
    }

    public class TextStreamsMetadata 
    {
        public string ID { get; set; }
        public int TextID { get; set; }
        public string Format { get; set; }
        public string CodecInfo { get; set; }
        public string Language { get; set; }
    }
}
